package com.xqboss.apps.enums.guild;

import com.xqboss.common.enums.BaseEnum;

/**
 * 公会成员退出状态枚举
 *
 * @author ljh
 * @date 2024-1-11
 */
public enum GuildExitTypeEnum implements BaseEnum<Integer> {

    ACTIVE(1, "主动退出"),
    APP_DISSOLVE(2,"会长解散公会（争对会长）"),
    KICKED(3, "被踢出"),
    REFUSE(4,"被拒绝"),
    BACK_DISSOLVE(5,"后台解散公会（争对会长）");

    private Integer value;
    private String msg;

    GuildExitTypeEnum(Integer value, String desc) {
        this.value = value;
        this.msg = desc;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
